#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H

#include <QWidget>
#include <QPixmap>
#include <QDebug>
#include <QPushButton>
#include <QStyle>
#include <QPropertyAnimation>
#include <QAbstractButton>

class MyPushButton : public QPushButton
{
    Q_OBJECT
public:
    explicit MyPushButton(QWidget *parent = nullptr);
    QString normal;
    QString push;
    MyPushButton(QString normal, QString push = "");
    void zoomUp();
    void zoomDown();
    // 鼠标按下事件
    void mousePressEvent(QMouseEvent* event) override;
    // 鼠标释放事件
    void mouseReleaseEvent(QMouseEvent* event) override;

signals:

};

#endif // MYPUSHBUTTON_H
